curl -X POST \
-H "paToken: [[apiKey]]" \
-H "Accept: application/json,application/json;charset=utf-8,text/plain,text/plain;charset=utf-8" \
-H "Content-Type: application/json" \
"http://Your.Server.URL/API3/dataSources/createDataServers" \
-d '{
"isPaused" : true,
"instanceName" : "instanceName",
"overlayPyramidSecurity" : true,
"useGlobalAccount" : true,
"serverName" : "serverName",
"description" : "description",
"securedByUser" : true,
"userName" : "userName",
"writeCapable" : 6,
"password" : "password",
"defaultDatabaseName" : "defaultDatabaseName",
"port" : 0,
"pulseClient" : "pulseClient",
"tenantId" : "tenantId",
"modifiedDate" : "2000-01-23T04:56:07.000+00:00",
"serverIp" : "serverIp",
"id" : "id",
"additionalServerProperties" : {
"customTrustStore" : "customTrustStore",
"disableDBTables" : true,
"defaultTrustStorePassword" : "defaultTrustStorePassword",
"salesforceSecurityToken" : "salesforceSecurityToken",
"krbServiceName" : "krbServiceName",
"disableAnalyticViews" : true,
"bwSupportStructures" : true,
"messageServerHost" : "messageServerHost",
"ftpSettings" : {
"isRequireReuseTLS" : true,
"portRangeMin" : 5,
"portRangeMax" : 2
},
"customKeyStoreType" : "customKeyStoreType",
"sharedFolderPath" : "sharedFolderPath",
"showInfoAreaTree" : true,
"shouldValidateServerCertHostname" : true,
"hdfsPort" : 5,
"hdfsIP" : "hdfsIP",
"mdxCompatibility" : 7,
"keytabPath" : "keytabPath",
"s3StagingDir" : "s3StagingDir",
"systemR3Name" : "systemR3Name",
"customJdbcId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"sysNumber" : "sysNumber",
"bringNonOleDbComponents" : true,
"messageServerService" : "messageServerService",
"quotaProjectId" : "quotaProjectId",
"useClientCertificate" : true,
"isCustomTrustStore" : true,
"awsBucketName" : "awsBucketName",
"customJdbcProps" : {
"key" : "customJdbcProps"
},
"clientKeyPath" : "clientKeyPath",
"warehouse" : "warehouse",
"accessToken" : "accessToken",
"customTrustStorePassword" : "customTrustStorePassword",
"isOperatingSystemTrustStore" : true,
"isDatabaseSchema" : true,
"useSSL" : true,
"accountId" : "accountId",
"odbcDirectQueryOptions" : { },
"avoidMultiPassAuthentication" : true,
"urlPortal" : "urlPortal",
"privateCertId" : "privateCertId",
"supportsBwFlatQueries" : true,
"shouldValidateServerCert" : true,
"sapRouter" : "sapRouter",
"timezone" : "timezone",
"disableCalculationViews" : true,
"sncPartnerName" : "sncPartnerName",
"groupServer" : "groupServer",
"isOverrideConnectionString" : true,
"consumerSecret" : "consumerSecret",
"isCustomKeyStore" : true,
"customTrustStoreType" : "customTrustStoreType",
"azureTabular" : true,
"disableAttributeViews" : true,
"customCertHostname" : "customCertHostname",
"consumerKey" : "consumerKey",
"clientCertPath" : "clientCertPath",
"awsSecretAccessKey" : "awsSecretAccessKey",
"isCustomCertHostname" : true,
"oauthDataSourceSettings" : {
"redirectUri" : "redirectUri",
"loadSuperFromGlobal" : true,
"clientId" : "clientId",
"scope" : "scope",
"jwksUri" : "jwksUri",
"clientSecret" : "clientSecret",
"tokenEntryPoint" : "tokenEntryPoint",
"authenticationEndPointUrl" : "authenticationEndPointUrl"
},
"hiveIP" : "hiveIP",
"defaultCulture" : "defaultCulture",
"awsRegion" : "awsRegion",
"bwInfoAreaIconIds" : "bwInfoAreaIconIds",
"useCustomCertificateConfig" : true,
"awsAccessKeyId" : "awsAccessKeyId",
"roleId" : "roleId",
"hivePort" : 1,
"clientNumber" : "clientNumber",
"azureTenantId" : "azureTenantId",
"keytabId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"relativeFolderName" : "relativeFolderName",
"customKeyStore" : "customKeyStore",
"clientKeyPassword" : "clientKeyPassword",
"allowHighDataRate" : true,
"customKeyStorePassword" : "customKeyStorePassword",
"machineAccountFallback" : true,
"customRootCaCert" : "customRootCaCert"
},
"displayFolder" : "displayFolder",
"optionalParameters" : "optionalParameters"
}'